Skip to main content
Version: Upcoming

StockBorrowRate

V8 Message Definiton

This data is sourced from various clearing firms and typically represents their public borrow rates. Data is typically loaded once at the start of each trading day. StockBorrowRate records are published to the SpiderRock elastic cluster at the end of each trading period.

METADATA

AttributeValue
Topic1725-client-borrow
MLink TokenSRMLinkAnalytics
ProductSRAnalytics
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
clientFirmVARCHAR(16)PRI''clientFirm if clientFirm specific rates default SR system default rates
gcFlagenum - YesNo'None'General collateral flag Yes No
gcRateFLOAT0General collateral rate
borrowRateFLOAT0StockBorrow rate
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3
clientFirm4

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRAnalytics`.`MsgStockBorrowRate`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm';

Doc Columns Query

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='StockBorrowRate' ORDER BY ordinal_position ASC;